package com.crowntit.domain.order.adapter.port;

import com.crowntit.domain.order.model.entity.GroupBuyLockInfoEntity;
import com.crowntit.domain.order.model.entity.GroupBuyLockServiceReqEntity;
import com.crowntit.domain.order.model.entity.GroupBuySettlementInfoEntity;
import com.crowntit.domain.order.model.entity.GroupBuySettlementServiceReqEntity;

import java.io.IOException;

public interface IGroupBuyMarketPort {
    GroupBuyLockInfoEntity lockMarketOrder(GroupBuyLockServiceReqEntity requestEntity) throws IOException;

    GroupBuySettlementInfoEntity settlementMarketOrder(GroupBuySettlementServiceReqEntity requestEntity) throws IOException;


}
